package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

    @Data
    @ApiModel("护理任务VO")
    public class NursingTaskByIdVo {

        @ApiModelProperty("主键")
        private Integer id;

        @ApiModelProperty("护理员id")
        private String nursingId;

        @ApiModelProperty("护理项目id")
        private Long projectId;

        @ApiModelProperty("护理项目名称")
        private String projectName;

        @ApiModelProperty("老人id")
        private Long elderId;

        @ApiModelProperty("老人姓名")
        private String elderName;

        @ApiModelProperty("床位号")
        private String bedNumber;

        @ApiModelProperty("预计服务时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime estimatedServerTime;

        @ApiModelProperty("实际服务时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime realServerTime;

        @ApiModelProperty("执行记录")
        private String mark;

        @ApiModelProperty("取消原因")
        private String cancelReason;

        @ApiModelProperty("状态 1待执行 2已执行 3已关闭")
        private Integer status;

        @ApiModelProperty("执行图片")
        private String taskImage;

        @ApiModelProperty("创建时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime createTime;

        @ApiModelProperty("更新时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime updateTime;

        @ApiModelProperty("创建者")
        private String createBy;

        @ApiModelProperty("更新者")
        private String updateBy;

        @ApiModelProperty("备注")
        private String remark;

        @ApiModelProperty("护理员姓名列表")
        private List<String> nursingName;

        @ApiModelProperty("执行人")
        private String updater;

        @ApiModelProperty("年龄")
        private Integer age;

        @ApiModelProperty("性别")
        private String sex;

        @ApiModelProperty("护理等级名称")
        private String nursingLevelName;
    }
